import axios from "@/axios/index";
export const getAllCust=(params)=>{
    return axios({
        method:'get',
        url:'sys/project/getAllCust',
        params:params
    })
}

export const insertCust=(params)=>{
    return axios({
        method:'post',
        url:'sys/project/insertCust',
        data:params
    })
}


export const updateCust=(params)=>{
    return axios({
        method:'post',
        url:'sys/project/updateCust',
        data:params
    })
}

export const getProject=(params)=>{
    return axios({
        method:'get',
        url:'sys/project/getProject',
        params:params
    })
}

export const insertProject=(params)=>{
    return axios({
        method:'post',
        url:'sys/project/insertProject',
        data:params
    })
}

export const getAllCust1=(params)=>{
    return axios({
        method:'get',
        url:'sys/project/getAllCust1',
        params:params
    })
}

export const updateProject=(params)=>{
    return axios({
        method:'post',
        url:'sys/project/updateProject',
        data:params
    })
}

export const insertProjectFollow=(params)=>{
    return axios({
        method:'post',
        url:'sys/project/insertProjectFollow',
        data:params
    })
}

export const getProjectFollow=(params)=>{
    return axios({
        method:'get',
        url:'sys/project/getProjectFollow',
        params:params
    })
}

export const getSalePlan=(params)=>{
    return axios({
        method:'get',
        url:'sys/project/getSalePlan',
        params:params
    })
}

export const insertSalePlan=(params)=>{
    return axios({
        method:'post',
        url:'sys/project/insertSalePlan',
        data:params
    })
}

export const getProject1=(params)=>{
    return axios({
        method:'get',
        url:'sys/project/getProject1',
        params:params
    })
}
